<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title></title>
    <script src="../js/boot.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../css/SFXXGL.css" type="text/css" />
</head>

<body>
    <form id="SFXXGLform">
        <div class="bigdiv">
            <div class="bottontitle">
                <span>随访患者情况</span>
            </div>
            <div class="HZXXGLContent">
                <table>
                    <tr>
                        <td class="tabletitle">就诊患者</td>
                        <td><input required="true" allowInput="false"  class="mini-textbox" name="flupAndDiacModel.patientName" id="patientName" /><input class="mini-textbox" style="display: none;" id="diacrisisId" name="flupAndDiacModel.diacrisisId" /></td>
                        <td class="tabletitle">随访时间</td>
                        <td><input required="true" id="statrDate" class="mini-datepicker" allowInput="false" name="flupAndDiacModel.flupTime" format="yyyy-MM-dd H:mm:ss" timeFormat="H:mm:ss" showTime="true" /></td>
                        <td class="tabletitle">妊娠结局</td>
                        <td><input required="true" class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_GEST_RESULT" showNullItem="true"  name="flupAndDiacModel.gestResultId" id="gestResultId" /> </td>
                    </tr>
                    <tr>
                        <td class="tabletitle">出生体重</td>
                        <td><input required="true" class="mini-textbox" vtype="float" name="flupAndDiacModel.nbcBw" />KG</td>
                        <td class="tabletitle">孕周</td>
                        <td><input required="true" class="mini-textbox mintext" vtype="int" name="flupAndDiacModel.gestWeeks" />W<input required="true" vtype="int" class="mini-textbox mintext" name="flupAndDiacModel.gestDays" />D</td>
                        <td class="tabletitle">出生地点</td>
                        <td><input required="true" class="mini-textbox" name="flupAndDiacModel.birthPlace" /></td>
                    </tr>
                    <tr>
                        <td class="tabletitle">引产日期</td>
                        <td><input class="mini-datepicker" id="childbirth" name="flupAndDiacModel.childbirthDate" allowInput="false"/></td>
                        <td class="tabletitle">出生日期</td>
                        <td><input required="true" class="mini-datepicker" name="flupAndDiacModel.nbcBirthday" allowInput="false"/></td>
                        <td class="tabletitle">出生检查</td>
                        <td><input required="true" class="mini-textbox" name="flupAndDiacModel.birthInspection" /></td>
                    </tr>
                    <tr>
                        <td class="tabletitle">引产孕周</td>
                        <td><input class="mini-textbox mintext" name="flupAndDiacModel.inducedGestWeeks" />W<input class="mini-textbox mintext" name="flupAndDiacModel.inducedGestDays" />D</td>
                        <td class="tabletitle">引产特殊情况</td>
                        <td><input class="mini-textbox" name="flupAndDiacModel.inducedSpecial" /></td>
                        <td class="tabletitle">引产原因</td>
                        <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_INDUCED_CAUSE" showNullItem="true"  name="flupAndDiacModel.inducedCauseId" /> </td>
                    </tr>
                    <tr>
                        <td class="tabletitle">后续治疗</td>
                        <td><input required="true" class="mini-textbox" name="flupAndDiacModel.flupCure" /></td>
                        <td class="tabletitle">尸检</td>
                        <td><input class="mini-radiobuttonlist" data="[{id: 1, text: '是'}, {id: 2, text: '否'}]" name="flupAndDiacModel.isPme" /></td>
                        <td class="tabletitle">新生儿性别</td>
                        <td><input required="true" class="mini-radiobuttonlist" data="[{id: 'm', text: '男'}, {id: 'f', text: '女'}]" name="flupAndDiacModel.nbcSex" /></td>
                    </tr>
                    <tr>
                        <td class="tabletitle">资料上传</td>
                        <td ><input type="file" id="thisnibaba" name="dibAndDiacModel.dibFiles" multiple /></td>
                        <td class="tabletitle">标本留存</td>
                        <td  style="display: flex;"><input required="true" class="mini-radiobuttonlist"   id="isSpecKeep" style="width:150px;"data="[{id: '1', text: '是'}, {id: 2, text: '否'}]" name="flupAndDiacModel.isSpecKeep" />
                        <input class="mini-combobox txk-dict" id="specKeepId"  multiSelect='true'  style="display:none;width:150px;" textField="text" valueField="id" emptyText="选择留存标本" dict="CQ_BASE_SPEC_KEEP" showNullItem="true"  name="flupAndDiacModel.specKeepId" /> </td></td>
                    </tr>
                    <tr>
                        <td class="tabletitle">随访备注</td>
                        <td colspan="3"><textarea required="true" class="mini-textarea" name="flupAndDiacModel.flupRemark" style="width: 100%;height: 80px;" emptyText=""></textarea></td>
                        <td></td>
                        <td></td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            <div style="width: 100%;margin-top: 50px; display: flex;justify-content: center;">
                                <input type="button" class="SFXXGLsubmit" onclick="submintSFXXGLform()" value="保存" />
                                <input type="button" class="SFXXGLsubmit" value="资料查询" onclick="onclick4()" />
                                <input type="button" class="SFXXGLsubmit" onclick="dropSFXXGLform()" value="作废" />
                                <input type="button" class="SFXXGLsubmit" onclick="renewSFXXGLform()" value="恢复" />
                                <input type="button" class="SFXXGLsubmit" onclick="exportThis()" value="导出" />
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </form>
    <div class="zhezhao"></div>
    <div class="zdmenu">
        <div class="zdmenubuttom">
            <img src="../img/hide.png">
        </div>
        <div class="rightmenu">
            <div>
                <div class="rightselect">
                    <input class="thisrightselect" placeholder="身份证/卡号/姓名" oninput="changeselect()" />
                    <label class="zuofeiclass"><input type="checkbox" class="zuofeicheck" value="" onchange="changeselect()" style="line-height: 30px;">作废</label>
                </div>
                <div class="rightuserconten">
                    <div class="XYuserconten">
                        <div class="righttitle">随访登记患者</div>
                        <div class="xinruguahao">
                        </div>
                    </div>
                    <div class="LSuserconten">
                        <div class="righttitle">历史随访患者</div>
                        <div class="lishiguahao" hidden>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <div class="tanchuang" style="display: none;">
        <div class="BLZL">
            <div class="BLZLtitle">
                <div class="BLZLname">病例资料</div>
                <div class="closeduotaidiv" onclick="closeBLZL()">X</div>
            </div>
            <div class="BLZLconten">
                <!-- <div id="imgtab" class="mini-tabs" activeIndex="0" style="width:100%;min-height:200px;height: 100%;" plain="false" buttons="#downfile" >
                </div>
                <div id="downfile" >
                    <div style="background: url(../img/XZ.png) no-repeat;background-size: 100%; height: 70%;width: 70%;"></div>
                </div> -->
                <div class="mini-fit" style="width: 100%;">
                    <div id="files_grid" class="mini-datagrid" style="width:100%;height:100%;" showPager='false'>
                        <div property="columns">
                            <div field="fileName" headerAlign="center" align="center" allowSort="false" renderer="onActionRenderer">文件名称</div>
                            <div field="fileSize" headerAlign="center" align="center" allowSort="false">文件大小(kb)</div>
                            <div field="fileUpTime" width="120" headerAlign="center" align="center" allowSort="false" dateFormat="yyyy-MM-dd hh:mm:ss">上传时间</div>
                            <div field="fileDownloadNo" headerAlign="center" align="center" allowSort="false">下载次数</div>
<!--                            <div field="fileRemark" headerAlign="center" align="center" allowSort="false">文件备注</div>-->
                            <div field="upUserName" headerAlign="center" align="center" allowSort="false">上传人</div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>
<!-- 右侧菜单里的随访登记用户模板 -->
<script id="user" type="text/x-jquery-tmpl" data-site="">
    {%each(i,user) data%}
    <div class="user ${user.isValid}" onclick="rightuserclick(this)">
        <span class="thisuserid" hidden>${user.diacrisisId}</span>
        <img src="../img/userimg.png">
        <p><span class="thisusername">${user.patientName}</span>【${user.cardNo}】<br/><span class='patientCardId'>${user.patientCardId}</span>
        </p>
    </div>
    {%/each%}
</script>
<!-- 右侧菜单里的历史随访用户模板 -->
<script id="lishiuser" type="text/x-jquery-tmpl" data-site="">
    {%each(i,user) data%}
    <div class="user ${user.isValid}" onclick="rightlishiclick(this)">
        <span class="thisuserid" hidden>${user.flupId}</span>
        <img src="../img/userimg.png">
        <p><span class="thisusername">${user.patientName}</span>【${user.cardNo}】<br/>${user.patientCardId}
        </p>
    </div>
    {%/each%}
</script>
<script src="../js/SFXXGL.js"></script>